<?php
/**
 * Created by clz.
 * User: clz
 * Date: 2018/8/3
 * Time: 19:42
 */

use NoahBuscher\Macaw\Macaw;

Macaw::get('fuck', function() {
    echo "成功！";
});

Macaw::get('(:all)', function($fu) {
    echo '未匹配到路由<br>'.$fu;
});

Macaw::get('/', 'Index@test');




//
Macaw::dispatch();